package shiyefactory;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘国水
 * Date: 2025-03-30
 * Time: 15:28
 */
public class AdminFactory implements UserFactory {
    @Override
    public User createUser(String name, int age) {
        return new AdminUser(name, age);
    }
}
